package com.homer.iot.esptouch.model;

import com.homer.iot.esptouch.tcp.UartTCPUtil;

public class Plug extends Slaver{


	public Plug(String id, String type) {
		super(id, type);		
	}

	public boolean controlPlug(byte action) {
		return UartTCPUtil.controlPlug(device.getDeviceIP(), action);

	}
}
